package com.chinairi.mall.dao;

import com.chinairi.mall.model.Material;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 物料表 Mapper 接口
 * </p>
 *
 * @author gsl
 * @since 2020-08-26
 */
public interface MaterialMapper extends BaseMapper<Material> {
    /**
     * 获取所有物料的id和名称列表
     * @return
     */
    List<Material> getIdAndName();
}
